<!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<html>
<head>
<title>
JSJaC Overview
</title>
<link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script>
function asd() {
	
		parent.document.title="JSJaCConstants.js Overview";
	
}
</script>
</head>
<body bgcolor="white" onload="asd();">

<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_top"><!-- --></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3">
  <tr align="center" valign="top">
  
  
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	&nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
  

  <td bgcolor="#FFFFFF" class="NavBarCell1"> 	<font class="NavBarFont1">Class</font>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
  </tr>
</table>
</td>
<td bgcolor="#EEEEFF" align="right" valign="top">
<em>
<b>JSJaC</b></em>
</td>
</tr>

<tr>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</font></td>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
  <a href="index.html" target="_top"><b>FRAMES</b></a>  &nbsp;
&nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
&nbsp;&nbsp;
<script>
  <!--
  if(window==top) {
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</script>
<noscript>
<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
</noscript>
</font></td>
</tr>
</table>
<!-- =========== END OF NAVBAR =========== -->

<hr>
<center>
	
	   <h2>JSJaCConstants.js</h2>
	
</center>

	


<h4>Summary</h4>
<p>
	
		No overview generated for 'JSJaCConstants.js'<BR/><BR/>
	
</p>

<hr>


    <table border="1" cellpadding="3" cellspacing="0" width="100%">
    <tr bgcolor="#CCCCFF" class="TableHeadingColor">
    <td colspan=2><font size="+2">
    
        <b>Class Summary</b>
    
    </font></td>
    </tr>
    
    <tr bgcolor="white" class="TableRowColor">
    <td width="15%"><b><a href="STANZA_ERROR.html">STANZA_ERROR</a></b></td>
    <td>&nbsp;</td>
    </tr>
    
    </table>
    <hr/> 


<!-- ========== METHOD SUMMARY =========== -->

<!-- ========== END METHOD SUMMARY =========== -->


        <pre class="sourceview">var NS_DISCO_ITEMS =  <span class="literal">"http://jabber.org/protocol/disco#items"</span>;
var NS_DISCO_INFO =   <span class="literal">"http://jabber.org/protocol/disco#info"</span>;
var NS_VCARD =        <span class="literal">"vcard-temp"</span>;
var NS_AUTH =         <span class="literal">"jabber:iq:auth"</span>;
var NS_AUTH_ERROR =   <span class="literal">"jabber:iq:auth:error"</span>;
var NS_REGISTER =     <span class="literal">"jabber:iq:register"</span>;
var NS_SEARCH =       <span class="literal">"jabber:iq:search"</span>;
var NS_ROSTER =       <span class="literal">"jabber:iq:roster"</span>;
var NS_PRIVACY =      <span class="literal">"jabber:iq:privacy"</span>;
var NS_PRIVATE =      <span class="literal">"jabber:iq:private"</span>;
var NS_VERSION =      <span class="literal">"jabber:iq:version"</span>;
var NS_TIME =         <span class="literal">"jabber:iq:time"</span>;
var NS_LAST =         <span class="literal">"jabber:iq:last"</span>;
var NS_XDATA =        <span class="literal">"jabber:x:data"</span>;
var NS_IQDATA =       <span class="literal">"jabber:iq:data"</span>;
var NS_DELAY =        <span class="literal">"jabber:x:delay"</span>;
var NS_EXPIRE =       <span class="literal">"jabber:x:expire"</span>;
var NS_EVENT =        <span class="literal">"jabber:x:event"</span>;
var NS_XCONFERENCE =  <span class="literal">"jabber:x:conference"</span>;
var NS_STATS =        <span class="literal">"http://jabber.org/protocol/stats"</span>;
var NS_MUC =          <span class="literal">"http://jabber.org/protocol/muc"</span>;
var NS_MUC_USER =     <span class="literal">"http://jabber.org/protocol/muc#user"</span>;
var NS_MUC_ADMIN =    <span class="literal">"http://jabber.org/protocol/muc#admin"</span>;
var NS_MUC_OWNER =    <span class="literal">"http://jabber.org/protocol/muc#owner"</span>;
var NS_PUBSUB =       <span class="literal">"http://jabber.org/protocol/pubsub"</span>;
var NS_PUBSUB_EVENT = <span class="literal">"http://jabber.org/protocol/pubsub#event"</span>;
var NS_PUBSUB_OWNER = <span class="literal">"http://jabber.org/protocol/pubsub#owner"</span>;
var NS_PUBSUB_NMI =   <span class="literal">"http://jabber.org/protocol/pubsub#node-meta-info"</span>;
var NS_COMMANDS =     <span class="literal">"http://jabber.org/protocol/commands"</span>;
var NS_STREAM =       <span class="literal">"http://etherx.jabber.org/streams"</span>;

var NS_STANZAS =      <span class="literal">"urn:ietf:params:xml:ns:xmpp-stanzas"</span>;
var NS_STREAMS =      <span class="literal">"urn:ietf:params:xml:ns:xmpp-streams"</span>;

var NS_TLS =          <span class="literal">"urn:ietf:params:xml:ns:xmpp-tls"</span>;
var NS_SASL =         <span class="literal">"urn:ietf:params:xml:ns:xmpp-sasl"</span>;
var NS_SESSION =      <span class="literal">"urn:ietf:params:xml:ns:xmpp-session"</span>;
var NS_BIND =         <span class="literal">"urn:ietf:params:xml:ns:xmpp-bind"</span>;

var NS_FEATURE_IQAUTH = <span class="literal">"http://jabber.org/features/iq-auth"</span>;
var NS_FEATURE_IQREGISTER = <span class="literal">"http://jabber.org/features/iq-register"</span>;
var NS_FEATURE_COMPRESS = <span class="literal">"http://jabber.org/features/compress"</span>;

var NS_COMPRESS =     <span class="literal">"http://jabber.org/protocol/compress"</span>;

<span class="reserved">function</span> STANZA_ERROR(code, type, cond) {
  <span class="reserved">if</span> (window == <span class="reserved">this</span>)
    <span class="reserved">return</span> new STANZA_ERROR(code, type, cond);

  <span class="reserved">this</span>.code = code;
  <span class="reserved">this</span>.type = type;
  <span class="reserved">this</span>.cond = cond;
}

var ERR_BAD_REQUEST =
        STANZA_ERROR(<span class="literal">"400"</span>, <span class="literal">"modify"</span>, <span class="literal">"bad-request"</span>);
var ERR_CONFLICT =
        STANZA_ERROR(<span class="literal">"409"</span>, <span class="literal">"cancel"</span>, <span class="literal">"conflict"</span>);
var ERR_FEATURE_NOT_IMPLEMENTED =
        STANZA_ERROR(<span class="literal">"501"</span>, <span class="literal">"cancel"</span>, <span class="literal">"feature-not-implemented"</span>);
var ERR_FORBIDDEN =
        STANZA_ERROR(<span class="literal">"403"</span>, <span class="literal">"auth"</span>,   <span class="literal">"forbidden"</span>);
var ERR_GONE =
        STANZA_ERROR(<span class="literal">"302"</span>, <span class="literal">"modify"</span>, <span class="literal">"gone"</span>);
var ERR_INTERNAL_SERVER_ERROR =
        STANZA_ERROR(<span class="literal">"500"</span>, <span class="literal">"wait"</span>,   <span class="literal">"internal-server-error"</span>);
var ERR_ITEM_NOT_FOUND =
        STANZA_ERROR(<span class="literal">"404"</span>, <span class="literal">"cancel"</span>, <span class="literal">"item-not-found"</span>);
var ERR_JID_MALFORMED =
        STANZA_ERROR(<span class="literal">"400"</span>, <span class="literal">"modify"</span>, <span class="literal">"jid-malformed"</span>);
var ERR_NOT_ACCEPTABLE =
        STANZA_ERROR(<span class="literal">"406"</span>, <span class="literal">"modify"</span>, <span class="literal">"not-acceptable"</span>);
var ERR_NOT_ALLOWED =
        STANZA_ERROR(<span class="literal">"405"</span>, <span class="literal">"cancel"</span>, <span class="literal">"not-allowed"</span>);
var ERR_NOT_AUTHORIZED =
        STANZA_ERROR(<span class="literal">"401"</span>, <span class="literal">"auth"</span>,   <span class="literal">"not-authorized"</span>);
var ERR_PAYMENT_REQUIRED =
        STANZA_ERROR(<span class="literal">"402"</span>, <span class="literal">"auth"</span>,   <span class="literal">"payment-required"</span>);
var ERR_RECIPIENT_UNAVAILABLE =
        STANZA_ERROR(<span class="literal">"404"</span>, <span class="literal">"wait"</span>,   <span class="literal">"recipient-unavailable"</span>);
var ERR_REDIRECT =
        STANZA_ERROR(<span class="literal">"302"</span>, <span class="literal">"modify"</span>, <span class="literal">"redirect"</span>);
var ERR_REGISTRATION_REQUIRED =
        STANZA_ERROR(<span class="literal">"407"</span>, <span class="literal">"auth"</span>,   <span class="literal">"registration-required"</span>);
var ERR_REMOTE_SERVER_NOT_FOUND =
        STANZA_ERROR(<span class="literal">"404"</span>, <span class="literal">"cancel"</span>, <span class="literal">"remote-server-not-found"</span>);
var ERR_REMOTE_SERVER_TIMEOUT =
        STANZA_ERROR(<span class="literal">"504"</span>, <span class="literal">"wait"</span>,   <span class="literal">"remote-server-timeout"</span>);
var ERR_RESOURCE_CONSTRAINT =
        STANZA_ERROR(<span class="literal">"500"</span>, <span class="literal">"wait"</span>,   <span class="literal">"resource-constraint"</span>);
var ERR_SERVICE_UNAVAILABLE =
        STANZA_ERROR(<span class="literal">"503"</span>, <span class="literal">"cancel"</span>, <span class="literal">"service-unavailable"</span>);
var ERR_SUBSCRIPTION_REQUIRED =
        STANZA_ERROR(<span class="literal">"407"</span>, <span class="literal">"auth"</span>,   <span class="literal">"subscription-required"</span>);
var ERR_UNEXPECTED_REQUEST =
        STANZA_ERROR(<span class="literal">"400"</span>, <span class="literal">"wait"</span>,   <span class="literal">"unexpected-request"</span>);

</pre>
	<hr>



<!-- ========== START OF NAVBAR ========== -->
<a name="navbar_top"><!-- --></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3">
  <tr align="center" valign="top">
  
  
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
  <td bgcolor="#FFFFFF" class="NavBarCell1Rev">	&nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
  

  <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
  <td bgcolor="#EEEEFF" class="NavBarCell1">    <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
  </tr>
</table>
</td>
<td bgcolor="#EEEEFF" align="right" valign="top"><em>
<b>JSJaC</b></em>
</td>
</tr>

<tr>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</font></td>
<td bgcolor="white" class="NavBarCell2"><font size="-2">
  <a href="index.html" target="_top"><b>FRAMES</b></a>  &nbsp;
&nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
&nbsp;&nbsp;
<script>
  <!--
  if(window==top) {
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
  }
  //-->
</script>
<noscript>
<a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
</noscript>
</font></td>
</tr>
</table>
<!-- =========== END OF NAVBAR =========== -->

<hr>
<font size="-1">

</font>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Tue Feb 12 18:46:55 2008</div>
</body>
</html>
